<?php

$basepath = "";

//long names for different match levels
$complevelnames["00"] = "Misc";
$complevelnames["10"] = "Qualifications";
$complevelnames["20"] = "Eighth Finals";
$complevelnames["30"] = "Quarters";
$complevelnames["40"] = "Semis";
$complevelnames["50"] = "Finals";
//long names for different match levels
$complevelnouns["00"] = "???";
$complevelnouns["10"] = "Participants";
$complevelnouns["20"] = "Eighth Finalists";
$complevelnouns["30"] = "Quarterfinalists";
$complevelnouns["40"] = "Semifinalists";
$complevelnouns["50"] = "Finalists";
$complevelnouns["60"] = "Champions";
//short names for different match levels, !!defines naming convention for files!!
$complevelshort["0"] = "misc";
$complevelshort["10"] = "q";
$complevelshort["20"] = "ef";
$complevelshort["30"] = "qf";
$complevelshort["40"] = "sf";
$complevelshort["50"] = "f";
//names of weeks, the database variable.
$weeknames["-1"] = "Invalid";
$weeknames["0"] = "Pre-Ship";
$weeknames["10"] = "Week 1";
$weeknames["20"] = "Week 2";
$weeknames["30"] = "Week 3";
$weeknames["40"] = "Week 4";
$weeknames["50"] = "Week 5";
$weeknames["60"] = "Week 6";
$weeknames["90"] = "World Championships - Divisons";
$weeknames["91"] = "World Championships - Finals";
$weeknames["100"] = "Offseason";
//images corresponding to week, based on google maps key.
$weekimages["0"] = "<img src=\"images/GREYMarkersmall.png\" />";
$weekimages["10"] = "<img src=\"images/ORANGEMarkersmall.png\" />";
$weekimages["20"] = "<img src=\"images/REDMarkersmall.png\" />";
$weekimages["30"] = "<img src=\"images/PURPLEMarkersmall.png\" />";
$weekimages["40"] = "<img src=\"images/BLUEMarkersmall.png\" />";
$weekimages["50"] = "<img src=\"images/GREENMarkersmall.png\" />";
$weekimages["60"] = "<img src=\"images/PINKMarkersmall.png\" />";
$weekimages["90"] = "<img src=\"images/YELLOWMarkersmall.png\" />";
$weekimages["91"] = "<img src=\"images/YELLOWMarkersmall.png\" />";
$weekimages["100"] = "<img src=\"images/GREYMarkersmall.png\" />";

$all_weeks = array("0", "10", "20", "30", "40", "50", "60", "90", "91", "100"); //all the weeks we might want to reference.

//defines week start and end dates
$week_definitions["2009"] = array("10" => array("2009-02-25", "2009-03-01"),
                                    "20" => array("2009-03-04", "2009-03-08"),
    								"30" => array("2009-03-11", "2009-03-15"),
    								"40" => array("2009-03-18", "2009-03-22"),
    								"50" => array("2009-03-25", "2009-03-29"),
    								"60" => array("2009-04-01", "2009-04-05"),
    								"90" => array("2009-04-15", "2009-04-19"));
$week_definitions["2008"] = array("10" => array("2008-02-28", "2008-03-02"),
    								"20" => array("2008-03-06", "2008-03-09"),
    								"30" => array("2008-03-13", "2008-03-16"),
    								"40" => array("2008-03-20", "2008-03-23"),
    								"50" => array("2008-03-27", "2008-03-30"),
    								"60" => array("2008-04-04", "2008-04-07"),
    								"90" => array("2008-04-18", "2008-04-20"));
																	
?>